package loan.calc.constant.dict.rate;

import lombok.AllArgsConstructor;
import lombok.Getter;
import loan.calc.constant.dict.base.BaseDictEnum;
import loan.calc.constant.dict.base.DictEnum;

@Getter
@AllArgsConstructor
@DictEnum(value = "RateFloatMode", description = "利率浮动模式")
public enum RateFloatModeDictEnum implements BaseDictEnum {


    FIXED("固定利率"),
    FLOATING( "浮动利率"),

    ;

    private final String value;

    private final String description;

    RateFloatModeDictEnum(String description) {
        this.value = name();
        this.description = description;
    }
}
